'''
Created on 2009-5-5

@author: Administrator
'''
import unittest
from com.carnation.qa.socketserver.common.util import Comparer;

class Test(unittest.TestCase):
    
     def testAnalyze(self):
         c = Comparer()
         print c.diff('''
List
    0
        MOIDRelation
            getId    ?
    1
        MOIDRelation
            getId    ?
    2
        MOIDRelation
            getId    *
''', \
'''
List
    0
        MOIDRelation
            getId    "id1"
    1
        MOIDRelation
            getId    "id2"
    2
        MOIDRelation
            getId    "id"
''')
         print '\nDone'
         

if __name__ == "__main__":
    unittest.main()
